<% title @<%= file_name %>_page.title %>
<div id="main-alt">

<ul id="tab_nav" class="tab_nav">
  <li><a href="#wiki-article" class="active">Article</a></li>
  <% if logged_in? %>
  <li><%= link_to 'Edit this page', edit_<%= file_name %>_path(@<%= file_name %>_page.slug) %></li>
  <li><%= link_to("History", <%= file_name %>_history_path(@<%= file_name %>_page.slug)) %></li>
  <% end %>
</ul>
<div id="wikiContent">

<h2><%=h @<%= file_name %>_page.title %></h2>



<% # TODO: find a way to allow for sanitized html again %>
<%= RedCloth.new(@<%= file_name %>_page.body).to_html %>

<%# RedCloth.new(@<%= file_name %>_page.body, [:sanitize_html]).to_html %>
<div style="clear:both;"><!-- only here to fix short pages with floting things --><br/></div>

</div><!--end wikiContent-->

<p class="note">This page was last modified on <%= @<%= file_name %>_page.edited_on.to_s(:long) %> by <%= link_to(@<%= file_name %>_page.editor.name, user_path(@<%= file_name %>_page.editor.id)) %></p>


</div>

<div id="secondary-alt">
<%= render :partial => '<%= file_name %>_navigation' %>

</div>